﻿using System.Web;
using System.Web.Mvc;

namespace PersonalAlbum.Controllers
{
    [Partial("PersonalAlbum.Master")]
    [ErrorHandler]
    [LogEntries]
    public abstract class ApplicationController : Controller
    {
        //protected override void Execute(System.Web.Routing.RequestContext requestContext)
        //{
        //    //requestContext.HttpContext.Response.Write("excute");
        //    //try
        //    //{
        //        base.Execute(requestContext);
        //    //}
        //    //catch (Exception e1)
        //    //{
        //      //  requestContext.HttpContext.Response.Write("error execute :" + e1);
        //    //}
        //}

        //protected override void OnActionExecuted(ActionExecutedContext filterContext)
        //{
            
        //    //filterContext.HttpContext.Response.Write("executed");
        //    //try
        //    //{
        //        base.OnActionExecuted(filterContext);
        //    //}
        //    //catch (Exception e1)
        //    //{
        //      //  filterContext.HttpContext.Response.Write("error excuted:" + e1);
        //    //}
        //}
        //protected override void HandleUnknownAction(string actionName)
        //{
        //    throw new HttpException(404, actionName);
        //}
    }
}
